package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病例健康状况对象 case_health_condition
 * 
 * @author ruoyi
 * @date 2022-04-03
 */
public class CaseHealthCondition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 病例ID */
    @Excel(name = "病例ID")
    private Long caseId;

    /** 是否不适 */
    @Excel(name = "是否不适")
    private Integer discomfort;

    /** 近期不适症状 */
    @Excel(name = "近期不适症状")
    private String symptom;

    /** 其他症状 */
    @Excel(name = "其他症状")
    private String otherSymptom;

    /** 是否就医 */
    @Excel(name = "是否就医")
    private Integer ifHospitalized;

    /** 何处就医 */
    @Excel(name = "何处就医")
    private String whereHospitalized;

    /** 医生意见 */
    @Excel(name = "医生意见")
    private String doctorOpinion;

    /** 是否怀孕 */
    @Excel(name = "是否怀孕")
    private Integer ifPregnant;

    /** 孕周 */
    @Excel(name = "孕周")
    private Long gestationalWeek;

    /** 是否吸烟 */
    @Excel(name = "是否吸烟")
    private Integer ifSmoke;

    /** 吸烟频率 */
    @Excel(name = "吸烟频率")
    private Long smokeFre;

    /** 既往疾病史 */
    @Excel(name = "既往疾病史")
    private String diseaseHistory;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String alternateField;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    public void setDiscomfort(Integer discomfort) 
    {
        this.discomfort = discomfort;
    }

    public Integer getDiscomfort() 
    {
        return discomfort;
    }
    public void setSymptom(String symptom) 
    {
        this.symptom = symptom;
    }

    public String getSymptom() 
    {
        return symptom;
    }
    public void setOtherSymptom(String otherSymptom) 
    {
        this.otherSymptom = otherSymptom;
    }

    public String getOtherSymptom() 
    {
        return otherSymptom;
    }
    public void setIfHospitalized(Integer ifHospitalized) 
    {
        this.ifHospitalized = ifHospitalized;
    }

    public Integer getIfHospitalized() 
    {
        return ifHospitalized;
    }
    public void setWhereHospitalized(String whereHospitalized) 
    {
        this.whereHospitalized = whereHospitalized;
    }

    public String getWhereHospitalized() 
    {
        return whereHospitalized;
    }
    public void setDoctorOpinion(String doctorOpinion) 
    {
        this.doctorOpinion = doctorOpinion;
    }

    public String getDoctorOpinion() 
    {
        return doctorOpinion;
    }
    public void setIfPregnant(Integer ifPregnant) 
    {
        this.ifPregnant = ifPregnant;
    }

    public Integer getIfPregnant() 
    {
        return ifPregnant;
    }
    public void setGestationalWeek(Long gestationalWeek) 
    {
        this.gestationalWeek = gestationalWeek;
    }

    public Long getGestationalWeek() 
    {
        return gestationalWeek;
    }
    public void setIfSmoke(Integer ifSmoke) 
    {
        this.ifSmoke = ifSmoke;
    }

    public Integer getIfSmoke() 
    {
        return ifSmoke;
    }
    public void setSmokeFre(Long smokeFre) 
    {
        this.smokeFre = smokeFre;
    }

    public Long getSmokeFre() 
    {
        return smokeFre;
    }
    public void setDiseaseHistory(String diseaseHistory) 
    {
        this.diseaseHistory = diseaseHistory;
    }

    public String getDiseaseHistory() 
    {
        return diseaseHistory;
    }
    public void setAlternateField(String alternateField) 
    {
        this.alternateField = alternateField;
    }

    public String getAlternateField() 
    {
        return alternateField;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("caseId", getCaseId())
            .append("discomfort", getDiscomfort())
            .append("symptom", getSymptom())
            .append("otherSymptom", getOtherSymptom())
            .append("ifHospitalized", getIfHospitalized())
            .append("whereHospitalized", getWhereHospitalized())
            .append("doctorOpinion", getDoctorOpinion())
            .append("ifPregnant", getIfPregnant())
            .append("gestationalWeek", getGestationalWeek())
            .append("ifSmoke", getIfSmoke())
            .append("smokeFre", getSmokeFre())
            .append("diseaseHistory", getDiseaseHistory())
            .append("alternateField", getAlternateField())
            .toString();
    }
}
